package com.ywq.app.biz;


import java.util.List;

import com.ywq.app.domain.ArtArtist;
import com.ywq.app.domain.ArtRoom;
import com.ywq.app.domain.ArtRoomPic;
import com.ywq.app.domain.ArtRoomVideo;
import com.ywq.common.exception.AppBusinessException;
import com.ywq.common.page.PageModel;

public interface ArtRoomBiz {
	public PageModel getArtRoomList(Integer page) throws AppBusinessException;
	
	public void insertArtRoom(ArtRoom artRoom,List<ArtArtist> artistList) throws AppBusinessException;
	
	public void updateArtRoom(ArtRoom artRoom) throws AppBusinessException;
	
	public List<ArtRoom> getOldRoomList()throws AppBusinessException;
	
	public List<ArtRoom> getNowRoomList()throws AppBusinessException;
	
	public List<ArtRoom> getOldRoomListBySize(Integer size)throws AppBusinessException;
	
	public PageModel getRBackList(Integer page,Integer y) throws AppBusinessException;
	
	public List<ArtRoom> formatTime(List<ArtRoom> rList)throws AppBusinessException;
	
	public ArtRoom getInRoomById(String id)throws AppBusinessException;
	
	public List<ArtArtist> getArtArtistList(String roomId) throws AppBusinessException ;
	
	public void insertArtRoomPic(ArtRoomPic artRoomPic)throws AppBusinessException;

	public PageModel getModelRpics(String roomId,Integer page) throws AppBusinessException;
	
	public PageModel getArtRoomListForMisc(Integer page,Integer pageSize) throws AppBusinessException;
	
	public PageModel getRoomPicListGrid(String roomId,Integer page,Integer pagesize) throws AppBusinessException;
	
	public List<ArtRoomPic>  getArtRoomListByRId(String roomId)throws AppBusinessException;
	
	public void deleteRoomPic(String picId,String roomId)throws AppBusinessException;
	
	public void deleteRoom(String roomId)throws AppBusinessException ;
	
	public void updateRoom(ArtRoom artRoom,List<ArtArtist> artistList) throws AppBusinessException;
	
	public ArtRoom getRoomById(String id)throws AppBusinessException;
	
	public PageModel getModelRpicsOne(String roomId,Integer page) throws AppBusinessException;
	
	public void insertArtFlv(ArtRoomVideo artRoomVideo) throws AppBusinessException;
	
	public PageModel getArtRoomFlv(Integer page,Integer pagesize) throws AppBusinessException;
	
	public void deleteFlv(String id)throws AppBusinessException;
	public List<ArtRoomVideo> getArtRoomVideoByRoomId(String roomId) throws AppBusinessException ;
	
	public List<ArtRoomVideo> getAllArtRoomVideoByRoomId(String roomId) throws AppBusinessException;

}
